package com.gxuwz.leaveSystem.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


//3.创建springmvc的配置文件，加载controller对应的bean
@Configuration
//扫描controller
@ComponentScan({"com.gxuwz.leaveSystem.controller","com.gxuwz.leaveSystem.config"})
@EnableWebMvc//开启json转换对象功能
public class SpringMvcConfig {
    
}
